package com.ruoyi.yljf.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BasePlusEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 书签对象 yljf_bookmark
 * 
 * @author metaee
 * @date 2025-02-12
 */
@Data
@TableName(value = "yljf_bookmark")
public class Bookmark {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 章节id */
    @Excel(name = "章节id")
    private Long chapterId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 文章id（冗余字段） */
    @Excel(name = "文章id", readConverterExp = "冗=余字段")
    private Long articleId;

}
